﻿<!DOCTYPE html>
@*<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">*@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    @*    <link href="~/Content/themes/jquery-ui-1.10.2.custom.min.css" rel="stylesheet" />*@
    <link href="~/Content/themes/flick/jquery-ui-1.10.2.custom.min.css" rel="stylesheet" />
    <link href="~/Content/css/global.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/css/mainMobile.css" rel="stylesheet" type="text/css" />
    <link href="~/Content/themes/showLoading/showLoading.css" rel="stylesheet" />
    <link href="~/Content/themes/jqGrid/ui.jqgrid.min.css" rel="stylesheet" />
    <meta name="viewport" content="width=device-width" />
    <meta name="description" content="The description of my page" />
</head>
<body>
    <div id="headerbar-wrapper" style="width: 100%;">
        <div class="fxs_headerbar">
            <div class="fxs_headerbar_navigation">
                <div class="fxs_headerbar_navigation_wrapper">
                    <a class="fxs_headerbar_navigation_logo">
                        <img src="~/content/images/ayout-brand-sm.png"></a>
                </div>
            </div>
            @*            <div class="fxs-monetaryCreditNotification-smallTitle"><span class="fxs-monetaryCreditNotification-title">计划管理控制台</span></div>*@
            <div class="fxs_headerbar_controls_parent">
                <div class="fxs_headerbar_controls">
                    <div class="fxs-subscriptionpicker">
                        <a onclick="#;">
                            <img class="fxs-subscriptionpicker-icon" src="~/content/images/orgid-avatar-small.png">
                            <span>
                                @(((Dictionary<String, String>)ViewBag.UserPreferences)["FullName"])
                            </span></a>
                    </div>
                </div>
                <div class="fxs-avatarbar-menu fxs-contextmenu" id="user_menu" style="display: none;">
                    <div class="fx-itemlist fx-editablecontrol">
                        <ul role="" aria-labelledby="null">
                            <li tabindex="-1" role="itemlist" aria-selected="false" class="fxs-contextmenu-item"><a href="#">更改密码</a></li>
                            <li tabindex="-1" role="itemlist" aria-selected="false" class="fxs-contextmenu-item fxs-contextmenu-separator"></li>
                            <li tabindex="0" role="itemlist" aria-selected="false" class="fxs-contextmenu-item"><a href="#" onclick="new_page(&#39;fxshell-wiz-container4&#39;)">注销</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="fxs_headerbar_avatarbar" id="fxs_headerbar_avatarbar">
                    <div class="fxs-subscriptionpicker">
                        @using (Html.BeginForm("LogOff", "Account", FormMethod.Post, new { id = "logoutForm" }))
                        {
                            <a onclick="javascript:document.getElementById('logoutForm').submit()">
                                <img class="fxs-subscriptionpicker-icon" src="~/content/images/fxs-avatarbar-image.png">
                                <span>Log off</span></a>
                        }
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="main">
        <div id="aux-foreground" style="width: 100%; ">
            <!-- left-start -->
            <div id="fxshell-navpane">
                <div class="fxshell-nav1">
                    <!--<div class="fx-scrollbar-scrollable"></div> 如果页面检测下有滚动条,会自动生成.-->
                    <!--<div class="fx-scrollbar-content"></div> 清除原有滚动条.-->
                    <ul class="fxshefxshell-nav1-countll-navigation-nav1-container">
                        <li class="fxshell-nav1-item fxshell-nav1-item-legacy" id="LayoutInspectionConsole">
                            <a href="~/Home/InspectionConsoleMobile">
                                <div class="fxshell-nav1-icon">
                                    <img src="~/content/images/Console.png" title="计划巡检控制台">
                                </div>
                                <div class="fxshell-nav1-label">计划巡检控制台</div>
                            </a>
                        </li>
                        <li class="fxshell-nav1-item fxshell-nav1-item-legacy" id="LayoutMyTask">
                            <a href="~/Home/MyTaskMobile">
                                <div class="fxshell-nav1-icon">
                                    <img src="~/content/images/MyJob.png" title="我的巡检单">
                                </div>
                                <div class="fxshell-nav1-label">我的巡检单</div>
                            </a>
                        </li>
                        <li class="fxshell-nav1-item fxshell-nav1-item-legacy" id="LayoutCreate">
                            <a href="~/InspectionTicket/Create">
                                <div class="fxshell-nav1-icon">
                                    <img src="~/content/images/NewList.png" title="新建模板">
                                </div>
                                <div class="fxshell-nav1-label">新建模板</div>
                            </a>
                        </li>
                        <li class="fxshell-nav1-item fxshell-nav1-item-legacy " id="LayoutSearch">
                            <a href="~/Home/TaskFrameSearch">
                                <div class="fxshell-nav1-icon">
                                    <img src="~/content/images/MyJob_search.png" title="巡检单查询">
                                </div>
                                @*<div class="fxshell-nav1-label" onclick="TaskFrame()">我的任务单</div>*@
                                <div class="fxshell-nav1-label">巡检单查询</div>
                            </a>
                        </li>

                        <li class="fxshell-nav1-item fxshell-nav1-item-legacy" id ="LayoutPermission">
                            <a href="~/Home/Permission">
                                <div class="fxshell-nav1-icon">
                                    <img src="~/content/images/SystemPower.png" title="配置系统权限">
                                </div>
                                <div class="fxshell-nav1-label">配置系统权限</div>
                            </a>
                        </li>
                    </ul>

                </div>
            </div>
            <!-- left-over -->
            <!-- middle-start -->
            @RenderBody()
        </div>
    </div>
    <div id="fxs-drawer" style="width: 100%;">
        <div class="fxs-drawer-inner" style="height: 60px;">
            <div class="fxs-drawer-slip">
                <div class="fxs-drawertaskbar">
@*                    <div class="fxs-drawertaskbar-newbutton fx-button" onclick="new_page('fxshell-wiz-container1')">
                        <div class="fxs-drawertaskbar-newbutton-img">
                            <img src="../../content/images/icon-drawer-add.png" /></div>
                        <span class="fxs-drawertaskbar-newbutton-text">NEW</span>
                    </div>*@
                    <div class="fxs-drawertaskbar-commands fxs-drawercommands">
                        <ul class="fxs-drawercommands-commands-global">
                           @* <li style="display: list-item;">
                                <div class="fxs-command fx-button ">
                                    <div class="fxs-command-iconwrapper fxs-command-action-Modify">
                                        <div class="fxs-command-icon">
                                            <img src="../../Content/images/icons-action-32-sprites.png" />
                                        </div>
                                    </div>
                                    <div class="fxs-command-text">Modify</div>
                                </div>
                            </li>*@
                            <li style="display:none;" id="DeleteBtn">
                                <div class="fxs-command fx-button ">
                                    <div class="fxs-command-iconwrapper fxs-command-action-Delete">
                                        <div class="fxs-command-icon">
                                            <img src="../../Content/images/icons-action-32-sprites.png" />
                                        </div>
                                    </div>
                                    <div class="fxs-command-text">删除</div>
                                </div>
                            </li>
                            <li style="display:none;" id="SaveBtn">
                                <div class="fxs-command fx-button ">
                                    <div class="fxs-command-iconwrapper fxs-command-action-Save">
                                        <div class="fxs-command-icon">
                                            <img src="../../Content/images/icons-action-32-sprites.png" />
                                        </div>
                                    </div>
                                    <div class="fxs-command-text">保存</div>
                                </div>
                            </li>
                            <li style="display:none;" id="SaveBtnsub">
                                <div class="fxs-command fx-button ">
                                    <div class="fxs-command-iconwrapper fxs-command-action-Tijiao">
                                        <div class="fxs-command-icon">
                                            <img src="../../Content/images/icons-action-32-sprites.png" />
                                        </div>
                                    </div>
                                    <div class="fxs-command-text">提交</div>
                                </div>
                            </li>
                            @*<li style="display: list-item;">
                                <div class="fxs-command fx-button ">
                                    <div class="fxs-command-iconwrapper fxs-command-action-Pause">
                                        <div class="fxs-command-icon">
                                            <img src="../../Content/images/icons-action-32-sprites.png" />
                                        </div>
                                    </div>
                                    <div class="fxs-command-text">Pause</div>
                                </div>
                            </li>*@
                        </ul>

                    </div>
@*                    <div class="fxs-drawertaskbar-notifications">
                        <div class="fxs-command fx-button fxs-drawertray-button">
                            <div class="fxs-command-iconwrapper fxs-command-action-Admin">
                                <a href="Admin/User Management.html">
                                    <div class="fxs-command-icon">
                                        <img src="../../Content/images/icons-action-32-sprites.png" />
                                    </div>
                                </a>
                            </div>
                            <div class="fxs-command-text">Admin</div>
                        </div>
                    </div>*@
                </div>
            </div>
        </div>
    </div>
    <script src="~/Scripts/jquery-1.10.2.js"></script>
    <script src="~/Scripts/jquery-ui-1.10.2.min.js"></script>
    <script src="~/Scripts/jquery.jqGrid.src.min.js"></script>
    <script src="~/Scripts/jquery.jqGrid.locale-en.min.js"></script>
    <script src="~/Scripts/jquery.validate.js"></script>
    <script src="~/Scripts/jquery.metadata.js"></script>
    <script src="~/Scripts/combobox/jquery.ui.combobox.min.js"></script>
    <script src="~/Scripts/jquery.showLoading.min.js"></script>
    <script type="text/javascript">
        function AddCombobox(o, callback) {
            o.combobox();
            $(o).change(function () {
                $('input.custom-combobox-input', o.parent()).val($(this).val());
            });
            $('input.custom-combobox-input', o.parent()).autocomplete("option", {
                //delay: 500
            });

            $('input.custom-combobox-input', o.parent()).autocomplete({
                select: function (event, ui) {
                    callback();
                }
            });
        }
    </script>
    @RenderSection("scripts", required: false)
</body>
</html>
